package com.gs.xbinfomytest.entity.dsl;

import com.gitee.hengboy.mybatis.enhance.dsl.expression.ColumnExpression;
import com.gitee.hengboy.mybatis.enhance.dsl.expression.TableExpression;
import com.gs.xbinfomytest.entity.SysNotice;

/**
 * 通知公告表
 * @author ApiBoot Mybatis Enhance Codegen
 */
public class DSysNotice extends TableExpression<SysNotice> {

    public DSysNotice(String root) {
        super(root);
    }

    public static DSysNotice DSL() {
        return new DSysNotice("sys_notice");
    }

    /**
     * 公告ID
     */
    public ColumnExpression noticeId = new ColumnExpression("notice_id", this);
    /**
     * 公告标题
     */
    public ColumnExpression noticeTitle = new ColumnExpression("notice_title", this);
    /**
     * 公告类型（1通知 2公告）
     */
    public ColumnExpression noticeType = new ColumnExpression("notice_type", this);
    /**
     * 公告内容
     */
    public ColumnExpression noticeContent = new ColumnExpression("notice_content", this);
    /**
     * 公告状态（0正常 1关闭）
     */
    public ColumnExpression status = new ColumnExpression("status", this);
    /**
     * 创建者
     */
    public ColumnExpression createBy = new ColumnExpression("create_by", this);
    /**
     * 创建时间
     */
    public ColumnExpression createTime = new ColumnExpression("create_time", this);
    /**
     * 更新者
     */
    public ColumnExpression updateBy = new ColumnExpression("update_by", this);
    /**
     * 更新时间
     */
    public ColumnExpression updateTime = new ColumnExpression("update_time", this);
    /**
     * 备注
     */
    public ColumnExpression remark = new ColumnExpression("remark", this);
    @Override
    public ColumnExpression[] getColumns() {
        return new ColumnExpression[]{noticeId, noticeTitle, noticeType, noticeContent, status, createBy, createTime, updateBy, updateTime, remark};
    }

}

